﻿using mds.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace mds.Queue.MSMQClient
{
    internal class MSMQClientConfig
    {
        private static MSMQClientConfig _intance = new MSMQClientConfig();

        internal static MSMQClientConfig Intance
        {
            get { return MSMQClientConfig._intance; }

        }
        public string DefaultMSMQPath
        {
            get
            {
                return ConfigHelper.GetappSettings(DefineTable.MsmqPath, DefineTable.DefaultMsmqPath);
            }
        }

        public string ExceptionDataPath {
            get
            {
                return ConfigHelper.GetappSettings(DefineTable.MsmqSaveToFileBasePath, DefineTable.DefaultMsmqSaveToFileBasePath);
            }
        }
    }
}
